package quickstart.main

import groovy.transform.CompileStatic
import javafx.stage.Stage
import org.jacpfx.minimal.launcher.JacpFXApplicationLauncher
import org.jacpfx.rcp.workbench.FXWorkbench
import quickstart.workbench.JacpFXWorkbench

/**
 * Created by TK-chenbin on 2015/5/19.
 *
 * @author Misty
 */
@CompileStatic
class ApplicationLauncher extends JacpFXApplicationLauncher {
    @Override
    protected Class<? extends FXWorkbench> getWorkbenchClass() {
        return JacpFXWorkbench
    }

    @Override
    protected String[] getBasePackages() {
//        return ["quickstart"] as String[]
        return [""] as String[]
    }

    @Override
    protected void postInit(Stage stage) {
    }

    static void main(String... args) {
        launch(ApplicationLauncher, args)
    }
}
